add_onnx_mlir_library(OMNNPACompilerOptions
  NNPACompilerOptions.cpp

  EXCLUDE_FROM_OM_LIBS

  INCLUDE_DIRS PRIVATE
  ${NNPA_SRC_ROOT}
  ${NNPA_BIN_ROOT}
  ${NNPA_ONNX_MLIR_SRC_ROOT}
  ${NNPA_ONNX_MLIR_BIN_ROOT}

  LINK_LIBS PUBLIC
  OMCompilerOptions

  ACCEL_INCLUDE_DIRS PRIVATE
  ${NNPA_ONNX_MLIR_SRC_ROOT}
  ${NNPA_ONNX_MLIR_BIN_ROOT}
  )

add_onnx_mlir_library(OMNNPACompilerUtils
  NNPACompilerUtils.cpp
  ZHighDisposableGarbageCollector.cpp

  EXCLUDE_FROM_OM_LIBS

  INCLUDE_DIRS PRIVATE
  ${NNPA_SRC_ROOT}
  ${NNPA_BIN_ROOT}
  ${NNPA_ONNX_MLIR_SRC_ROOT}
  ${NNPA_ONNX_MLIR_BIN_ROOT}

  LINK_LIBS PUBLIC
  OMNNPACompilerOptions
  OMCompilerPasses

  ACCEL_INCLUDE_DIRS PRIVATE
  ${NNPA_ONNX_MLIR_SRC_ROOT}
  ${NNPA_ONNX_MLIR_BIN_ROOT}
  )
